# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources(bredr.c)
zephyr_library_sources_ifdef(CONFIG_BT_RFCOMM rfcomm.c)
zephyr_library_sources_ifdef(CONFIG_BT_A2DP a2dp.c)
zephyr_library_sources_ifdef(CONFIG_BT_AVRCP avrcp.c)
if(CONFIG_BT_HFP_HF OR CONFIG_BT_HFP_AG)
  zephyr_library_sources(
    hfp.c
    )
endif()

zephyr_library_sources_ifdef(CONFIG_BT_GOEP goep.c)
zephyr_library_sources_ifdef(CONFIG_BT_BIP bip.c)
if(CONFIG_BT_AVRCP_TG_COVER_ART OR CONFIG_BT_AVRCP_CT_COVER_ART)
  zephyr_library_sources(avrcp_cover_art.c)
endif()
